<script>
export default {
  onLaunch: function () {
    console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！');
    console.log('App Launch');
	uni.hideTabBar(); // 隐藏官方的tabBar
  },
  onLoad() {
  	uni.hideTabBar(); // 隐藏官方的tabBar
  },
  onShow: function () {
    console.log('App Show');
  },
  onHide: function () {
    console.log('App Hide');
  }
};
</script>

<style lang="scss">
@import 'uview-ui/index.scss';
@import '@/styles/windi.scss';
@import '@/styles/base.css';
@import '@/styles/public.css';
page {
  background-color: #fff;
  width: 100vw;
  height: 100vh;
  .common {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: constant(safe-area-inset-bottom); 
    padding-bottom: env(safe-area-inset-bottom);
    .main {
      width: 100%;
      flex: 1;
      height: auto;
      overflow: hidden;
      position: relative;
      .contentWrap {
        width: 100%;
        height: 100%;
        background: #f6f6f6;
        &.is-scrollable {
          overflow-y: auto;
        }
      }
    }
  }
}
</style>
